<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.TBitmapFlag 枚举类型参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="enumawtk_1_1_t_bitmap_flag.html">TBitmapFlag</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="enumawtk_1_1_t_bitmap_flag-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.TBitmapFlag 枚举类型参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a75e26118ed51136196b67275a9ec27a9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_t_bitmap_flag.html#a75e26118ed51136196b67275a9ec27a9">value</a> ()</td></tr>
<tr class="separator:a75e26118ed51136196b67275a9ec27a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a239e02feb6fddf080e58d33819ae0bba"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="enumawtk_1_1_t_bitmap_flag.html">TBitmapFlag</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_t_bitmap_flag.html#a239e02feb6fddf080e58d33819ae0bba">from</a> (int value)</td></tr>
<tr class="separator:a239e02feb6fddf080e58d33819ae0bba"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a4b162aec81e8a1e50774d190bc9d603b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_t_bitmap_flag.html#a4b162aec81e8a1e50774d190bc9d603b">NONE</a> =(BITMAP_FLAG_NONE())</td></tr>
<tr class="separator:a4b162aec81e8a1e50774d190bc9d603b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade8e7baf7a9edb58f5818763a1dc783e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_t_bitmap_flag.html#ade8e7baf7a9edb58f5818763a1dc783e">OPAQUE</a> =(BITMAP_FLAG_OPAQUE())</td></tr>
<tr class="separator:ade8e7baf7a9edb58f5818763a1dc783e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a166078e1c7904fd292dee093ef3e2bd5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_t_bitmap_flag.html#a166078e1c7904fd292dee093ef3e2bd5">IMMUTABLE</a> =(BITMAP_FLAG_IMMUTABLE())</td></tr>
<tr class="separator:a166078e1c7904fd292dee093ef3e2bd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63af90b25026fd5b3bb79859e8e17eb3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_t_bitmap_flag.html#a63af90b25026fd5b3bb79859e8e17eb3">TEXTURE</a> =(BITMAP_FLAG_TEXTURE())</td></tr>
<tr class="separator:a63af90b25026fd5b3bb79859e8e17eb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51a132fe1cf75865300bd6fa41f73ca6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_t_bitmap_flag.html#a51a132fe1cf75865300bd6fa41f73ca6">CHANGED</a> =(BITMAP_FLAG_CHANGED())</td></tr>
<tr class="separator:a51a132fe1cf75865300bd6fa41f73ca6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb67ef9ba99dca4a834966d9ae65a4e3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_t_bitmap_flag.html#abb67ef9ba99dca4a834966d9ae65a4e3">PREMULTI_ALPHA</a> =(BITMAP_FLAG_PREMULTI_ALPHA())</td></tr>
<tr class="separator:abb67ef9ba99dca4a834966d9ae65a4e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>位图标志常量定义。 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a239e02feb6fddf080e58d33819ae0bba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a239e02feb6fddf080e58d33819ae0bba">&#9670;&nbsp;</a></span>from()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="enumawtk_1_1_t_bitmap_flag.html">TBitmapFlag</a> awtk.TBitmapFlag.from </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把枚举的值转换层枚举。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>枚举的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的枚举类型。 </dd></dl>

</div>
</div>
<a id="a75e26118ed51136196b67275a9ec27a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75e26118ed51136196b67275a9ec27a9">&#9670;&nbsp;</a></span>value()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TBitmapFlag.value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取枚举的值。</p>
<dl class="section return"><dt>返回</dt><dd>枚举的值。 </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a51a132fe1cf75865300bd6fa41f73ca6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51a132fe1cf75865300bd6fa41f73ca6">&#9670;&nbsp;</a></span>CHANGED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TBitmapFlag.CHANGED =(BITMAP_FLAG_CHANGED())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>如果是MUTABLE的图片，更新时需要设置此标志，底层可能会做特殊处理，比如更新图片到GPU。 </p>

</div>
</div>
<a id="a166078e1c7904fd292dee093ef3e2bd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a166078e1c7904fd292dee093ef3e2bd5">&#9670;&nbsp;</a></span>IMMUTABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TBitmapFlag.IMMUTABLE =(BITMAP_FLAG_IMMUTABLE())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>图片内容不会变化。 </p>

</div>
</div>
<a id="a4b162aec81e8a1e50774d190bc9d603b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b162aec81e8a1e50774d190bc9d603b">&#9670;&nbsp;</a></span>NONE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TBitmapFlag.NONE =(BITMAP_FLAG_NONE())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>无特殊标志。 </p>

</div>
</div>
<a id="ade8e7baf7a9edb58f5818763a1dc783e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade8e7baf7a9edb58f5818763a1dc783e">&#9670;&nbsp;</a></span>OPAQUE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TBitmapFlag.OPAQUE =(BITMAP_FLAG_OPAQUE())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>不透明图片。 </p>

</div>
</div>
<a id="abb67ef9ba99dca4a834966d9ae65a4e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb67ef9ba99dca4a834966d9ae65a4e3">&#9670;&nbsp;</a></span>PREMULTI_ALPHA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TBitmapFlag.PREMULTI_ALPHA =(BITMAP_FLAG_PREMULTI_ALPHA())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>预乘alpha。 </p>

</div>
</div>
<a id="a63af90b25026fd5b3bb79859e8e17eb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63af90b25026fd5b3bb79859e8e17eb3">&#9670;&nbsp;</a></span>TEXTURE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TBitmapFlag.TEXTURE =(BITMAP_FLAG_TEXTURE())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>OpenGL Texture, bitmap的id是有效的texture id。 </p>

</div>
</div>
<hr/>枚举说明文档从下列文件生成:<ul>
<li>output/TBitmapFlag.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
